package com.xinqi.modules.sys.gpt.dto.rsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * 新奇AI消息 -- 历史记录 -- 返回
 *
 * @Author：yyzhen
 * @Package：com.xinqi.modules.sys.gpt.dto.req
 * @Project：com.xinqi.-Cloud-Plus
 * @name：ChatMessageSendDTO
 * @Date：2023/5/29 11:18
 * @Filename：ChatMessageSendDTO
 */
@Data
public class ChatMessageResultDTO {

    @Schema(description = "消息ID", example = "01h1jtsgewrj817868qycyep4d")
    private String id;

    @Schema(description = "唯一 UUID", example = "de0419d5-c719-4d70-abae-a90525f1596a")
    private String uid;

    @Schema(description = "创建时间", example = "2023-05-29T05:31:33.926Z")
    private String createdAt;

    @Schema(description = "更新时间", example = "2023-05-29T05:31:14.251Z")
    private String updatedAt;

    @Schema(description = "删除时间")
    private String deletedAt;

    @Schema(description = "角色", example = "assistant")
    private String role;

    @Schema(description = "消息内容", example = "AI (Artificial Intelligence) ...... ")
    private String content;

    @Schema(description = "用户ID", example = "1657268893142360066")
    private String userId;

    @Schema(description = "引用消息ID")
    private String quoteMessageId;

    @Schema(description = "引用消息内容")
    private String quoteMessageContent;

    @Schema(description = "引用消息用户ID")
    private String quoteMessageUserId;

    private String quoteMessageUserDisplayName;

    @Schema(description = "状态")
    private String status;

    private String statusReason;

    private String userSessionId;

    private String userDisplayName;

    private String sessionId;

    private String context;

    private Map<String, Object> attributes;
}
